package com.zsrt.java.day20161229.cg.demo02;

public class Student02 {
	private int age;
	private char sex;
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public char getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
	//默认调用
	@Override
	public String toString() {
		return "Student02 [age=" + age + ", sex=" + sex + "]";
	}
	
}
